.awards {
  .emoji-icon {
    width: 20px;
    height: 20px;
  }
}

.emoji-menu {
  position: absolute;
  margin-top: 3px;
  padding: $gl-padding;
  z-index: 9;
  width: 300px;
  font-size: 14px;
  background-color: $white-light;
  border: 1px solid $border-white-light;
  border-radius: $border-radius-base;
  box-shadow: 0 6px 12px $award-emoji-menu-shadow;
  pointer-events: none;
  opacity: 0;
  transform: scale(.2);
  transform-origin: 0 -45px;
  transition: .3s cubic-bezier(.87,-.41,.19,1.44);
  transition-property: transform, opacity;

  &.is-aligned-right {
    transform-origin: 100% -45px;
  }

  &.is-visible {
    pointer-events: all;
    opacity: 1;
    transform: scale(1);
  }

  .emoji-menu-content {
    height: 300px;
    overflow-y: scroll;
  }
}

.emoji-search {
  background-image: url("");
  background-repeat: no-repeat;
  background-position: right 5px center;
  background-size: 16px;
}

.emoji-menu-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.emoji-menu-list-item {
  padding: 3px;
  margin-left: 1px;
  margin-right: 1px;
}

.emoji-menu-btn {
  display: block;
  cursor: pointer;
  width: 30px;
  height: 30px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: $border-radius-base;
  transition: transform .15s cubic-bezier(.3, 0, .2, 2);

  &:hover {
    background-color: transparent;
    outline: 0;
    transform: scale(1.3);
  }

  &:focus,
  &:active {
    outline: 0;
  }

  .emoji-icon {
    display: inline-block;
    position: relative;
    top: 3px;
  }
}

.award-menu-holder {
  display: inline-block;
  position: relative;
}

.award-control {
  margin: 3px 5px 3px 0;
  padding: 5px 6px;
  outline: 0;

  &:hover,
  &.active,
  &:active {
    background-color: $row-hover;
    border-color: $row-hover-border;
    box-shadow: none;
    outline: 0;
  }

  &.btn {
    &:focus {
      outline: 0;
    }
  }

  &.is-loading {
    .award-control-icon-normal,
    .emoji-icon {
      display: none;
    }

    .award-control-icon-loading {
      display: block;
    }
  }

  .icon,
  .award-control-icon {
    float: left;
    margin-right: 5px;
    font-size: 18px;
  }

  .award-control-icon-loading {
    display: none;
  }

  .award-control-icon {
    color: $border-gray-normal;
    margin-top: 1px;
  }
}
